package com.ruoyi.pm.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商信息对象 saas_supplier
 * 
 * @author ruoyi
 * @date 2022-01-19
 */
public class SaasSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险公司id */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商logo */
    @Excel(name = "供应商logo")
    private String supplierLogo;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private String supplierType;

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierLogo(String supplierLogo) 
    {
        this.supplierLogo = supplierLogo;
    }

    public String getSupplierLogo() 
    {
        return supplierLogo;
    }
    public void setSupplierType(String supplierType) 
    {
        this.supplierType = supplierType;
    }

    public String getSupplierType() 
    {
        return supplierType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("supplierLogo", getSupplierLogo())
            .append("supplierType", getSupplierType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
